@import "../../style/constant.scss";

.container {
  background: #ffffff;
  padding: 20px 16px 16px;
}

.marTop16 {
  margin-top: 16px;
  position: relative;
}

.containerClass {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.block {
  width: 5px;
  height: 18px;
  background: $theme;
  border-radius: 2px;
  margin-right: 12px;
}

.rightTitle {
  color: $primaryBlack;
  font-size: 18px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  line-height: 25px;
}

.statusText {
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $theme;
  line-height: 22px;
}

.noneText {
  composes: statusText;
  color: $weak;
}

.content {
  padding-bottom: 16px;
}

.swiperView {
  width: 343px;
  height: 96px;
}

.indicatorWrapper {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);

  .indicators {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 4px;
    margin-right: 4px;
    background-color: #ececec;

    &.active {
      background-color: #47c690;
    }
  }
}

.swiperItem {
  width: 343px;
  height: 80px;
  display: flex;
  margin-top: 4px;
  padding: 12px 16px;
}

.image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background: #f5f2f2;
  border-radius: 4px;
}

.goodContent {
  flex: 1;
  padding-left: 16px;
  line-height: 18px;
}

.goodHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  line-height: 22px;
}

.goodTitle {
  font-size: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: $primaryBlack;
  line-height: 22px;
  @include line-ellipsis-x(1);
  max-height: 22px;
}

.goodNum {
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $common;
  line-height: 20px;
}

.goodDesc {
  font-size: 13px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: $weak;
  line-height: 18px;
  @include line-ellipsis-x(1);
  margin-top: 8px;
}
